#include "brief.hpp"

BriefScreen::BriefScreen()
{
}

BriefScreen::~BriefScreen()
{
}

#include "image.hpp"
#include "sound.hpp"

static Image *photoimg;
static Image *fontimg;

static Sound *stepsnd;

bool BriefScreen::Open()
{
	const char *DIR = "stg";

	char name[16];
	std::sprintf(name, "%s/photo%i", DIR, stagen);
	photoimg = AllImgs.Get(name);
	fontimg = AllImgs.Get("font");

	stepsnd = AllSnds.Get("player/step");

	return true;
}

void BriefScreen::Close()
{
	AllImgs.Close();
	AllSnds.Close();
}

void BriefScreen::In()
{
}

#include "player.hpp"

void BriefScreen::Update()
{
	Plr.Joy(1, 0);

	Plr.Update();
}

void BriefScreen::Out(float upfrac)
{
}

BriefScreen Brief;
